<!DOCTYPE html>
<html>
<!-- head -->
{include file="common/page/head"}
<link rel="stylesheet" href="__app__/admin/view/{:request()->controller()}/selectCategory/selectCategory.css" />
<body>
<!---------------- 商品列表 ------------------->

<!-- 页头 -->
{include file="common/page/header"}
<!-- 主体 -->
<div class="content container-fluid {if $leftBarScale eq '1'} scale {/if} ">
    <div class="row">
        <div class="col-md-2 left-section">
            <!-- 左导航菜单 -->
            {include file="common/page/menu"}

        </div>
        <div class="col-md-10 right-section">
            <!--内容区域-->
            <h3><i class="icon iconfont">{$Think.session.currentMenu.icon}</i>分类列表
            </h3>
            <div class="inner-section row">
                <div id="content">
                    <div class="select-category">
                        <div class="category-txt">
                        	商品上架后将只能在分类编辑中选择修改
                        </div>
                        <div class="category-wrap clearfix">
                            <div class="category-item-wrap" rank='1'>
                                <ul class="category-list">
                                    {foreach name = "firCateList" item = "firCategory"}
                                    <li><a href="javascript:;" data-id="{$firCategory.id}" fir="{$firCategory.fir}"><span class="category-name" data-name="{$firCategory.name}">{$firCategory.name}</span><span class="selected-category">选为分类</span></a></li>
                                    {/foreach}
                                </ul>
                            </div>
                            <div class="category-item-wrap hidden" rank='2'>
                                <ul class="category-list">
                                    {foreach name = "secCateList" item = "secCategory"}
                                    <li><a href="javascript:;" data-id="{$secCategory.id}" fir="{$secCategory.fir}" sec="{$secCategory.sec}"><span class="category-name" data-name="">{$secCategory.name}</span><span class="selected-category">选为分类</span></a></li>
                                    {/foreach}
                                </ul>
                            </div>
                        </div>
                        <div class="choosed-title">
                        	<div>已选分类</div>
                        </div>
                        <div class="choose-category-area row">
                        </div>
                        <div class="action-area">
                        	<input type="hidden" class="ids" id="ids" name="ids" value="">
                        	<a href="javascript:;" class="next">下一步</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- 页脚 -->
{include file="common/page/footer"}

<!-- jsfiles -->
{include file="common/page/jsfiles"}
<script type="text/javascript" src="__app__/admin/view/{:request()->controller()}/selectCategory/selectCategory.js"></script>
</body>
</html>